home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Concept 6
/
CD Concept 06.iso
/
mac
/
UTILITAIRE
/
RLaB
/
toolbox
/
logm.r
< prev
next >
Wrap
Text File
|
1994-12-19
|
500b
|
25 lines
//-------------------------------------------------------------------//
// Syntax: logm ( A )
// Description:
// The logm function computes the matrix natural logarithm. Logm uses
// Parlett's method in the rfile funm.r.
// Another way to compute logm (A) is to:
// logm ( X ) = e.vec * log (e.val) / e.vec
// See Also: expm, funm
//-------------------------------------------------------------------//
// Dependencies
required funm
logm = function ( X )
{
return funm (X, log)
};